GithubHelp home page GithubHelp logo

Comments (6)

jmathai avatar jmathai commented on August 29, 2024

How did you upload the 1.7k photos?

from frontend.

ajft avatar ajft commented on August 29, 2024

Yes, there are 1710 photos in the system, I can see their icons and modify titles and descriptions through the web interface, but I can't upload any new photos either through the web interface or through the "import.py" scripts.

from frontend.

ajft avatar ajft commented on August 29, 2024

Jaisen,

The 7010 photos were uploaded by "import.py" in batches of from 10 .. 250
using the JSON files produced by "export-openphoto". I was manually
checking the JSON files due to previous tagging problems and didn't want to
try and upload all 7000+ photos in one go. (See footnote)

Adrian

footnote:

Proof checking of the JSON needed as there are problems with titles and
tags in a lot of them, from where the original imports into trovebox.com
produced bogus entries on reaching utf-8/non-ascii characters. (eg I had
photos where the four tags "castle, Córdoba, Andalusia, Spain" but had been
imported to become only two tags, "castle" and "C", everything from ó
onwards being dropped, photos where the "Original FIle Name" was of the
form 123-456_01.jpg being chopped to "123", everything from "-" onwards
being dropped)

On Tue, Jun 2, 2015 at 2:59 PM, Jaisen Mathai [email protected]
wrote:

How did you upload the 1.7k photos?


Reply to this email directly or view it on GitHub
#1581 (comment).

Adrian Tritschler
Melbourne, Australia

from frontend.

youphyun avatar youphyun commented on August 29, 2024

Can the "migration" email from trovebox.com be found somewhere online? I am using the Amazon Ubuntu Server 14.04 LTS (HVM) image now and I am just curious how to prepare the Amazon Linux AMI 2015.03 (HVM) image so it can run Trovebox.

from frontend.

ajft avatar ajft commented on August 29, 2024

Fixed on 02-Jun-2015 with email help from Jaisen: (reply below, with real domains and names repalced by xyz)

Thank you. I've not used mysql before (other than to create the database), but some reading of the other github issues and man pages and the following did the trick:

mysql> update user set extra='{"lastPhotoId":"1o5","lastActionId":"","lastGroupId":"","lastWebhookId":"","attrtutorialAll":"1","lastActivityId":"17t","attrprofileName":"xyz","attrtutorialPhotos":"4","attrtutorialAlbums":"1","attrtutorialUpload":"2"}' where id='[email protected]";
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0

Tested it by uploading a photo through the web interface -- went to http://xyz.com/p/1o6 -- then a further two with the import.py script (to URLs ending in 1o7 and 1o8 respectively)

from frontend.

jmathai avatar jmathai commented on August 29, 2024

@joephein The link from the email points to https://trovebox.com/archive/migrate --- We're taking the site offline this weekend :)

from frontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.